package com.ruoyi.oiltank.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 储油罐信息对象 oil_tank
 * 
 * @author ruoyi
 * @date 2024-10-15
 */
public class OilTank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 油罐类型id */
//    @Excel(name = "油罐类型id")
    private Long typeId;

    /** 油罐类型名称 */
    @Excel(name = "油罐类型名称")
    private String typeName;

    /** 最大装油量 */
    @Excel(name = "最大装油量")
    private BigDecimal maxCap;

    /** 最小装油量 */
    @Excel(name = "最小装油量")
    private BigDecimal minCap;

    /** 是否启用 */

    private Integer status;

    /** 重量 */
    private String extra1;

    /** 油罐高度 */
    @Excel(name = "油罐高度")
    private BigDecimal height;

    /** 安全高度 */
    @Excel(name = "安全高度")
    private BigDecimal safeHeight;

    /** extra2 */
    private String extra2;

    /** extra3 */
    private String extra3;

    /** extra4 */
    private String extra4;
    @Excel(name = "状态")
    private String statusName;

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    /** 部门ID */
//    @Excel(name = "部门ID")
    private Long deptId;

    @Excel(name = "部门名称")
    private String deptName;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    private Boolean auth;

    public Boolean getAuth() {

        return auth;
    }

    public void setAuth(Boolean auth) {
        this.auth = auth;
    }

    /** 重量 */
    @Excel(name = "重量")
    private BigDecimal weight;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setMaxCap(BigDecimal maxCap) 
    {
        this.maxCap = maxCap;
    }

    public BigDecimal getMaxCap() 
    {
        return maxCap;
    }
    public void setMinCap(BigDecimal minCap) 
    {
        this.minCap = minCap;
    }

    public BigDecimal getMinCap() 
    {
        return minCap;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setExtra1(String extra1) 
    {
        this.extra1 = extra1;
    }

    public String getExtra1() 
    {
        return extra1;
    }
    public void setHeight(BigDecimal height) 
    {
        this.height = height;
    }

    public BigDecimal getHeight() 
    {
        return height;
    }
    public void setSafeHeight(BigDecimal safeHeight)
    {
        this.safeHeight = safeHeight;
    }

    public BigDecimal getSafeHeight()
    {
        return safeHeight;
    }
    public void setExtra2(String extra2) 
    {
        this.extra2 = extra2;
    }

    public String getExtra2() 
    {
        return extra2;
    }
    public void setExtra3(String extra3) 
    {
        this.extra3 = extra3;
    }

    public String getExtra3() 
    {
        return extra3;
    }
    public void setExtra4(String extra4) 
    {
        this.extra4 = extra4;
    }

    public String getExtra4() 
    {
        return extra4;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setWeight(BigDecimal weight) 
    {
        this.weight = weight;
    }

    public BigDecimal getWeight() 
    {
        return weight;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("typeId", getTypeId())
            .append("typeName", getTypeName())
            .append("maxCap", getMaxCap())
            .append("minCap", getMinCap())
            .append("status", getStatus())
            .append("extra1", getExtra1())
            .append("height", getHeight())
            .append("safeHeight", getSafeHeight())
            .append("extra2", getExtra2())
            .append("extra3", getExtra3())
            .append("extra4", getExtra4())
            .append("deptId", getDeptId())
            .append("weight", getWeight())
            .toString();
    }
}
